package com.develop.vo;

import java.io.Serializable;

public class AlarmMsgVo implements Serializable {
	private static final long serialVersionUID = -6236340795725143988L;
	@SuppressWarnings("unused")
	private static final short startSign = -1;
	private byte msgType;
	private int timeStamp;
	private short lenOfBody;
	private String body;

	public AlarmMsgVo(byte msgType, int timeStamp, short lenOfBody, String body) {
		this.msgType = msgType;
		this.timeStamp = timeStamp;
		this.lenOfBody = lenOfBody;
		this.body = body;
	}

	public static short getStartSign() {
		return -1;
	}

	public byte getMsgType() {
		return this.msgType;
	}

	public void setMsgType(byte msgType) {
		this.msgType = msgType;
	}

	public int getTimeStamp() {
		return this.timeStamp;
	}

	public void setTimeStamp(int timeStamp) {
		this.timeStamp = timeStamp;
	}

	public short getLenOfBody() {
		return this.lenOfBody;
	}

	public void setLenOfBody(short lenOfBody) {
		this.lenOfBody = lenOfBody;
	}

	public String getBody() {
		return this.body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String toString() {
		return "alarmMsgVo{msgType=" + this.msgType + ", timeStamp=" + this.timeStamp + ", lenOfBody=" + this.lenOfBody + ", body='" + this.body + '\'' + '}';
	}
}